Skip to main content

Interface IEventReceiver<TRegistrationLifecycleMethod, TDeregistrationLifecycleMethod>

Defines a contract for components capable of receiving event notifications and specifies the lifecycle methods for event registration and deregistration.

Assembly: EventBusSourceGenerator.dll
Declaration
public interface IEventReceiver<TRegistrationLifecycleMethod, TDeregistrationLifecycleMethod> where TRegistrationLifecycleMethod : EventRegistration where TDeregistrationLifecycleMethod : EventDeregistration